CVE-2026-25498
Craft has a potential authenticated Remote Code Execution via malicious attached Behavior
Description
Craft is a platform for creating digital experiences. In versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a Remote Code Execution (RCE) vulnerability exists in Craft CMS where the assembleLayoutFromPost() function in src/services/Fields.php fails to sanitize user-supplied configuration data before passing it to Craft::createObject(). This allows authenticated administrators to inject malicious Yii2 behavior configurations that execute arbitrary system commands on the server. This vulnerability represents an unpatched variant of the behavior injection vulnerability addressed in CVE-2025-68455, affecting different endpoints through a separate code path. This vulnerability is fixed in 5.8.22.
INFO
Published Date :
Feb. 9, 2026, 8:15 p.m.
Last Modified :
Feb. 19, 2026, 7:20 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update Craft CMS to version 5.8.22 or later.
- Apply security patches provided by the vendor.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25498.
| URL | Resource |
|---|---|
| https://github.com/craftcms/cms/commit/395c64f0b80b507be1c862a2ec942eaacb353748 | Patch |
| https://github.com/craftcms/cms/releases/tag/5.8.22 | Release Notes |
| https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7 | Exploit Vendor Advisory Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25498 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25498
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25498 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-25498 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 4.0.0 up to (excluding) 4.16.18 *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 5.0.0 up to (excluding) 5.8.22 Added Reference Type GitHub, Inc.: https://github.com/craftcms/cms/commit/395c64f0b80b507be1c862a2ec942eaacb353748 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/craftcms/cms/releases/tag/5.8.22 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7 Types: Exploit, Patch, Vendor Advisory -
New CVE Received by [email protected]
Feb. 09, 2026
Action Type Old Value New Value Added Description Craft is a platform for creating digital experiences. In versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a Remote Code Execution (RCE) vulnerability exists in Craft CMS where the assembleLayoutFromPost() function in src/services/Fields.php fails to sanitize user-supplied configuration data before passing it to Craft::createObject(). This allows authenticated administrators to inject malicious Yii2 behavior configurations that execute arbitrary system commands on the server. This vulnerability represents an unpatched variant of the behavior injection vulnerability addressed in CVE-2025-68455, affecting different endpoints through a separate code path. This vulnerability is fixed in 5.8.22. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-470 Added Reference https://github.com/craftcms/cms/commit/395c64f0b80b507be1c862a2ec942eaacb353748 Added Reference https://github.com/craftcms/cms/releases/tag/5.8.22 Added Reference https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7